package com.zzy;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zuiche.voice.common.http.BaseEntity;
import com.zuiche.voice.ethereal.system.enumeration.InteractionConfigType;
import com.zuiche.voice.ethereal.system.enumeration.InteractionStatus;
import com.zuiche.voice.ethereal.system.enumeration.SharedType;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author system
 * @since 2025-08-05
 */
@Getter
@Setter
public class AccountInteraction{

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 配置类型
     */
    private InteractionConfigType configType;

    /**
     * 随机数最大值
     */
    @TableField("random_max")
    private Integer randomMax;

    /**
     * 随机数最小值
     */
    @TableField("random_min")
    private Integer randomMin;

    /**
     * 账户ID
     */
    @TableField("account_id")
    private String accountId;

    /**
     * 关键词, 逗号分隔
     */
    @TableField("keywords")
    private String keywords;

    /**
     * 状态(OPEN=打开, CLOSE=关闭)
     */
    @TableField("status")
    private InteractionStatus status;

    /**
     * 私有 共享 PERSONAL, SHARED
     */
    @TableField("shared_type")
    private SharedType sharedType;

    @Override
    public Serializable pkVal() {
        return this.id;
    }
}
